package com.y.architecture.polliing;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.y.architecture.R;
import com.y.architecture.activity.MainActivity;

public class PollingActivity extends AppCompatActivity {
    private static final String TAG = MainActivity.class.getSimpleName() + "_POLLING";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_polling);

//开启轮询
//        PollingManager.getInstance().bindIntervalEvent(1, TAG, Event.BizEvent.INTERVAL, null);
////停止轮询
//        PollingManager.getInstance().stopPolling(TAG, Event.BizEvent.INTERVAL);


    }
}
